package com.ztgf.logistics.models.service.deppon;

import com.baomidou.mybatisplus.plugins.Page;
import com.baomidou.mybatisplus.service.IService;
import com.ztgf.common.constant.Result;
import com.ztgf.logistics.models.bo.deppon.LogisticsBillBO;
import com.ztgf.logistics.models.bo.deppon.LogisticsBillSaveBO;
import com.ztgf.logistics.models.dto.deppon.LogisticsBillDTO;

/**
 * 物流账单表服务
 *
 * @author mxli
 * @Date 2021-09-13 22:14:02
 */
public interface ILogisticsBillService extends IService<LogisticsBillDTO> {
    boolean add(LogisticsBillSaveBO saveBO);

    Result<Page<LogisticsBillDTO>> queryPageList(LogisticsBillBO bo);

    LogisticsBillDTO getNoPayBill(Long id);

    /**
     * 处理逾期
     * @param billDTO
     */
    void saveOverdue(LogisticsBillDTO billDTO);
}
